﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace MODEL.ViewModel
{
    public class Position
    {
        [DisplayName("岗位id")]
        public int PositionId { get; set; }

        [DisplayName("公司id")]
        [Required]
        public int CompanyId { get; set; }

        [DisplayName("公司名字")]
        [Required]
        public string CompanyName { get; set; }

        [DisplayName("岗位名称")]
        [Required]
        public string PositionName { get; set; }

        [DisplayName("岗位类型")]
        public string PositionType { get; set; }
        
        [DisplayName("岗位标题")]
         public string PositionTitle { get; set; }
       

    
        [DisplayName("发布时间")]
        [Required]
        public System.DateTime ReleaseDate { get; set; }

        [DisplayName("截至时间")]
        [Required]
        public System.DateTime Deadlines { get; set; }
        
        [DisplayName("招聘人数")]
        public int RecruitNum { get; set; }

        [DisplayName("性别要求")]
        public int RequestGender { get; set; }

        [DisplayName("待遇")]
        public string Treatment { get; set; }

        [DisplayName("工作地点")]
        public string WorkAddress { get; set; }
       
        [DisplayName("工作时间")]
        public string WorkTime { get; set; }
       
        [DisplayName("审核状态")]
        [Required]
        public Nullable<int> AuditStatus { get; set; }
       
        [DisplayName("是否删除")]
        [Required]
        public Nullable<int> IsDel { get; set; }

        [DisplayName("是否显示")]
        [Required]
        public Nullable<int> IsShow { get; set; }

        [DisplayName("岗位描述")]
        public string  PositionDescrip { get; set; }

        [DisplayName("管理员审核原因")]
        public string  AuditReason { get; set; }

      
        [DisplayName("是否仅允许贫困生申请")]
        [Required]
        public Nullable<int>   IsPoor  { get; set; }

        
        [DisplayName("招聘会id")]
        public Nullable<int> RecruitmentId { get; set; }
        

        [DisplayName("公司是否自主招聘")]
        [Required]
        public Nullable<int> OnCompanyOwn { get; set; }
    }
}
